package com.itheima.reggie.controller;

import com.itheima.reggie.common.ResultInfo;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 杨
 *
 * @Author Yang
 * @Date 2023/3/12 16:11
 */
@RestController
@Api(tags = "测试类")
public class YangController {
    @GetMapping("/hello")
    public ResultInfo hello(){
        System.out.println("你好!!!");
        System.out.println("你好!!!");
        return ResultInfo.success("Hello,Word!");
    }
}